//
//  UserServer.h
//  Bees
//
//  Created by NowYouCanSee on 2019/1/3.
//  Copyright © 2019 xiaohan. All rights reserved.
//

#import "BaseServer.h"

NS_ASSUME_NONNULL_BEGIN

@interface UserServer : BaseServer

@property (nonatomic,copy) NSString *nickname;
@property (nonatomic,copy) NSString *password;
@property (nonatomic,copy) NSString *re_password;
@property (nonatomic,copy) NSString *old_password;
@property (nonatomic,strong) UIImage *choseImage;
@property (nonatomic,strong) NSString *account;
@property (nonatomic,strong) NSString *private_key;
///修改用户信息 nickname : 修改昵称 headimgurl ： 修改头像
@property (nonatomic,strong) NSString *action;
@property (nonatomic,strong) NSString *value;
///注册
- (void)registerUserComplete:(void(^)(BOOL success,UserInfo*info,NSString*msg))complete;
///登录
- (void)loginComplete:(void(^)(BOOL success,NSString*msg))complete;
///找回账号
- (void)getAccountComplete:(void(^)(BOOL success,NSString*msg,NSString*account))complete;
///重设密码
- (void)resetAccountPwdComplete:(void(^)(BOOL success,NSString*msg))complete;
//修改用户信息
- (void)saveAccountComplete:(void(^)(BOOL success,NSString*msg))complete;
///修改密码
- (void)changePasswordAccountComplete:(void(^)(BOOL success,NSString*msg))complete;

@end

NS_ASSUME_NONNULL_END
